package demo1;

public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.creatList();
        /*myLinkedList.display();
        myLinkedList.reverseOrderDisplay();

        myLinkedList.addFirst(13);
        myLinkedList.display();
        myLinkedList.addLast(23);
        myLinkedList.display();*/
        /*myLinkedList.remove(23);
        myLinkedList.display();
        System.out.println();
        myLinkedList.removeAllkey(23);
        myLinkedList.display();*/
        myLinkedList.addIndex(3,45);
        myLinkedList.display();
       /* myLinkedList.addIndex(2,67);
        myLinkedList.display();
        boolean b = myLinkedList.contains(12);
        System.out.println(b);
        myLinkedList.remove(2);
        myLinkedList.display();
        myLinkedList.removeAllkey(1);
        myLinkedList.display();
        myLinkedList.clear();*/
    }
}
